package com.example.entity;

import lombok.Data;

@Data
public class OrderDetail {

    /**
     * 订单明细ID
     */
    private Integer odId;

    /**
     * 订单ID
     */
    private Integer orderId;

    /**
     * 商品ID
     */
    private Integer foodId;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 单价(元)
     */
    private Double price;

    /**
     * 总价(元)
     */
    private Double totalPrice;

    /**
     * 所属食品
     */
    private Food food;

}


